
a = ('hello', 'world', 123, 3.14, 110)
#       0       1       2    3     4
#       -5     -4      -3   -2     -1

# print(a[-1])

b = "hello world" # d
# print(b[-1])
# print(b[10])

# 我要提取 llo worl 这一段字符串
# print(b[2:10:1])  #

c = "我们都是中国人，我爱我的祖国!"
print(c[::2])